home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Logical / IsNan.HLSL.Brick.xml < prev    next >
Extensible Markup Language  |  2008-06-10  |  1KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{7FB2B6DA-A9C1-454B-8C2F-BBF156BFB643}" Name="RtIsNAN" GUIName="IsNAN" Description="Return nonzero if any component of input is NAN (not a number) [isnan]">
  3.     <ME_BRICK_INPUTPARAM GUID="{721E2C32-F668-4968-97E5-5EC2B4E9F573}" Name="Input" Type="RtNumeric"/>
  4.     <ME_BRICK_OUTPUTPARAM GUID="{8FE9E418-5EAB-45E1-866B-922EFB1BEF3F}" Name="Result" Type="RtFloat"/>
  5.     <ME_BRICK_CODE><![CDATA[
  6.         void RtIsNAN(in RtFloat Input, out RtFloat Result) {
  7.             Result = rtx_IsNAN(Input);
  8.         }
  9.  
  10.         void RtIsNAN(in RtFloat3 Input, out RtFloat Result) {
  11.             Result = rtx_IsNAN(Input);
  12.         }
  13.  
  14.         void RtIsNAN(in RtFloat4 Input, out RtFloat Result) {
  15.             Result = rtx_IsNAN(Input);
  16.         }
  17.  
  18.         void RtIsNAN(in RtFloat3x3 Input, out RtFloat Result) {
  19.             Result = rtx_IsNAN(Input);
  20.         }
  21.  
  22.         void RtIsNAN(in RtFloat4x4 Input, out RtFloat Result) {
  23.             Result = rtx_IsNAN(Input);
  24.         }
  25.     ]]></ME_BRICK_CODE>
  26. </ME_BRICK>
  27.